package com.sunda.spmsoversea.enums;

public enum OverseaOtherEnum {

    /***
     SPMS_STATUS SPMS状态(0已删除;1保存;2提交/待审批;3审批不通过;4审批通过;5提交SAP失败;6提交SAP成功;)
     */

    OTHER_CLOSE("0", "已删除", "Deleted."),
    OTHER_CREATE("1", "创建", "Create."),
    OTHER_SAVE("1", "保存", "Saved."),
    OTHER_UPDATE("1", "更新", "Updated."),
    OTHER_SUBMITTED("2", "提交/待审批", "Submitted."),
    OTHER_REJECT("3", "审批不通过", "Reject."),
    OTHER_APPROVED("4", "审批通过", "Approved."),
    OTHER_SUBMIT_SAP_ERROR("5", "提交SAP失败", "Submit to SAP Error."),
    OTHER_SUBMIT_SAP("6", "提交SAP成功", "Submit to SAP Successfully."),
    OTHER_CANCEL_TO_APPROVED("4", "撤销到审批通过", "Cancel to Approved."),
    OTHER_CANCEL_TO_SAVE("1", "撤销到保存", "Cancel to Saved."),
    OTHER_CANCEL_ERROR("99", "撤销失败", "Cancel Error.")
    ;

    private String code;
    private String descZh;
    private String descEn;

    OverseaOtherEnum(String code, String descZh, String descEn) {
        this.code = code;
        this.descZh = descZh;
        this.descEn = descEn;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescZh() {
        return descZh;
    }

    public void setDescZh(String descZh) {
        this.descZh = descZh;
    }

    public String getDescEn() {
        return descEn;
    }

    public void setDescEn(String descEn) {
        this.descEn = descEn;
    }
}
